<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
                <ul class="nav">
                    <a class="brand" href="index.jsp">School Info</a>
                    <li class="active"><a href="index.jsp"><i class="icon-home"></i>首页</a></li>
                    <li><a href="goodsAction!showSaleNewGoodsInPage"><i class="icon-star"></i> 二手市场</a></li>
					<li><a href="goodsAction!showBuyNewGoodsInPage"><i class="icon-list-alt"></i> 求购专区</a></li>
					<li><a href="aboutus.jsp"><i class="icon-user"></i> 关于我们</a></li>
                </ul>              
				 <s:if test="#session.user!=null">
              	<a href="userCenter.jsp" class="pull-right" style="padding-right:10px;padding-top:10px;color:white"> <s:property value="#session.user.name"/></a>
              	<a href="userAction!logout" class="pull-right" style="padding-right:10px;padding-top:10px;color:white">退出</a>
              </s:if>
              <s:else>
				<a href="register.jsp" class="pull-right" style="padding-right:10px;padding-top:10px;color:white">注册</a> 
				<a href="login.jsp" class="pull-right" style="padding-right:10px;padding-top:10px;color:white">登录</a>

    
           	  </s:else>
             </div> 
		</div>
		</div>





<!-- end of Navigation -->
